package com.oscar.ehome.bean;

import com.oscar.ehome.R;
import com.oscar.ehome.bean.pagebean.CompanyBean;
import com.oscar.ehome.bean.teamBean.UserAppInfoBean;

/**
 * Created by juxing
 * author: MengWanhe
 * date: On 2017/7/23
 */

public class UsersBean {


    private String id;
    private String sex;
    private String no;
    private String name;
    private String starLevel;
    private String status;
    private String exclusiceSrc;
    private String payDesc;
    private String isPay;
    private String photo;
    private String jobLevel;
    private CompanyBean company;
    private RoleMobileBean roleMobile;



    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getSex() {
        return sex;
    }

    public void setSex(String sex) {
        this.sex = sex;
    }

    public String getNo() {
        return no;
    }

    public void setNo(String no) {
        this.no = no;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getStarLevel() {
        return starLevel;
    }

    public void setStarLevel(String starLevel) {
        this.starLevel = starLevel;
    }

    public String getStatus() {
        return status;
    }

    public void setStatus(String status) {
        this.status = status;
    }

    public String getExclusiceSrc() {
        return exclusiceSrc;
    }

    public void setExclusiceSrc(String exclusiceSrc) {
        this.exclusiceSrc = exclusiceSrc;
    }

    public String getPayDesc() {
        return payDesc;
    }

    public void setPayDesc(String payDesc) {
        this.payDesc = payDesc;
    }

    public String getIsPay() {
        if (isPay == null) {
            isPay = "0";
        }
        return isPay;
    }

    public void setIsPay(String isPay) {
        this.isPay = isPay;
    }

    public String getPhoto() {
        return photo;
    }

    public void setPhoto(String photo) {
        this.photo = photo;
    }

    public String getJobLevel() {
        return jobLevel;
    }

    public void setJobLevel(String jobLevel) {
        this.jobLevel = jobLevel;
    }
    public CompanyBean getIsNeedPay() {
        if (company == null) {
            CompanyBean bean = new CompanyBean();
            bean.setIsNeedPay("null");
            return bean;
        }
        return company;
    }

    public void setIsNeedPay(CompanyBean isNeedPay) {
        this.company = isNeedPay;
    }
    public RoleMobileBean getRoleMobile() {
        if (roleMobile == null) {
            RoleMobileBean bean = new RoleMobileBean();
            bean.setRoleName("暂无");
            return bean;
        }
        return roleMobile;
    }

    public void setRoleMobile(RoleMobileBean roleMobile) {
        this.roleMobile = roleMobile;
    }
}
